package com.ruoyi.mall.mapper;

import com.ruoyi.mall.domain.Customer;
import com.ruoyi.mall.domain.vo.CustomerVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 会员信息Mapper接口
 *
 * @author ruoyi
 * @date 2024-04-24
 */
@Mapper
public interface CustomerMapper {

    /**
     * 根据时间和机构ID来筛选会员的订单信息
     * @param customer
     * @return
     */
    public List<Customer> selectCustomerList(Customer customer);

    /**
     * 查询会员信息
     *
     * @param customerId 会员信息主键
     * @return 会员信息
     */
    public Customer selectCustomerByCustomerId(Long customerId);

}
